<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@  taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>


<div class="col-md-4"></div>
<div class="col-md-4">
	<div class="box box-solid">
		<div class="box-header">
			<h1 class="box-title">${announcement.title} 
				<span class="text-yellow"><i class="fa fa-pencil-square-o"></i>待审批</span>
			</h1>
		</div>
		<!-- /.box-header -->
		<div class="box-body clearfix">
			<blockquote>
				<h4>${announcement.content}</h4>
				<small>申请人:${announcement.creator.name}</small>
				<small>审批人:${announcement.approver.name }</small>
				<small>所属部门:${departmentName}</small>
				<form action="${initParam.root}/announcement/makeApprove" method="post">
					<input name="id" type="hidden" value="${announcement.id}"/>
					<input name="status" type="hidden" value="2"/>
					<button type="submit" class="btn btn-success"><i class="fa fa-gavel"></i>通过</button>
				</form>
				<form class="pull-right" action="${initParam.root}/announcement/makeApprove" method="post">
					<input name="id" type="hidden" value="${announcement.id}"/>
					<input name="status" type="hidden" value="3"/>
					<button type="submit" class="btn btn-danger"><i class="fa fa-ban"></i>驳回</button>
				</form>
			</blockquote>
		</div>
		<!-- /.box-body -->
	</div>
	<!-- /.box -->
</div>
<!-- ./col -->
<div class="col-md-4"></div>